import Vue from 'vue'
import Router from 'vue-router'
import Navigator from '@/components/Navigator'
import Message from '@/components/Message'
import File from '@/components/File'
import Homework from '@/components/Homework'
import Discuss from '@/components/Discuss'
import Personal from '@/components/Personal'
import Topbar from '@/components/Topbar'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Message',
      component: Message
    },
    {
      path: '/navigator',
      name: 'Navigator',
      component: Navigator
    },
    {
      path: '/message',
      name: 'Message',
      component: Message
    },
    {
      path: '/file',
      name: 'File',
      component: File
    },
    {
      path: '/homework',
      name: 'Homework',
      component: Homework
    },
    {
      path: '/discuss',
      name: 'Discuss',
      component: Discuss
    },
    {
      path: '/personal',
      name: 'Personal',
      component: Personal
    },
    {
      path: '/topbar',
      name: 'Topbar',
      component: Topbar
    }
  ]
})
